import request from '@/utils/request'

// 查询入库单行列表
export function listRtissuelineother(query) {
  return request({
    url: '/wm/rtissuelineother/list',
    method: 'get',
    params: query
  })
}

// 查询入库单行详细
export function getRtissuelineother(lineId) {
  return request({
    url: '/wm/rtissuelineother/' + lineId,
    method: 'get'
  })
}

// 新增入库单行
export function addRtissuelineother(data) {
  return request({
    url: '/wm/rtissuelineother',
    method: 'post',
    data: data
  })
}

// 修改入库单行
export function updateRtissuelineother(data) {
  return request({
    url: '/wm/rtissuelineother',
    method: 'put',
    data: data
  })
}

// 删除入库单行
export function delRtissuelineother(lineId) {
  return request({
    url: '/wm/rtissuelineother/' + lineId,
    method: 'delete'
  })
}
